package cn.wsalix.msg.service;

import java.util.List;

import org.springframework.data.domain.Pageable;

import cn.anlaser.service.CommonService;
import cn.wsalix.msg.entity.Chat;
import cn.wsalix.msg.repository.ChatRepository;
import cn.wsalix.user.form.ChatForm;

public interface ChatService extends CommonService<ChatForm,ChatRepository,Chat>{

	Chat sendWaiterChat(ChatForm form);

	Chat sendClientChat(ChatForm form);

	List<Chat> findsByProduct(ChatForm form, Pageable pageable);

}
